package com.young.manager.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.young.manager.model.CompanyUser;

public interface CompanyUserService {

  Page<CompanyUser> queryPage(Long companyId, String name, String phone, Integer status, Integer pageNum, Integer pageSize);

  void insertCompanyUser(CompanyUser companyUser);

  void updateCompanyUser(CompanyUser companyUser);

  void resetPassword(Long id, String newPassword);

  void updateCompanyUserStatus(Long id, Integer status);

  void deleteCompanyUser(Long id);

}
